import { Injectable } from '@angular/core';
import { Observable } from "rxjs";
import { HttpClient } from "@angular/common/http";

@Injectable()
export class CodeService {

  constructor(private http: HttpClient) { }
  getCodeZip(url): Observable<any> {
    return this.http.get(url, {responseType: 'arraybuffer'}).pipe();
  }
}
